﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Threading;
using System.Globalization;

namespace Moving03
{
    public partial class SiteMaster : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            hplEn.NavigateUrl = ResolveUrl(this.Page.Request.Url.AbsolutePath) + "?lang=en";
            hplVn.NavigateUrl = ResolveUrl(this.Page.Request.Url.AbsolutePath) + "?lang=vi";
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            try
            {
                if (TextBox1.Text != "")
                {
                    int idttvc = int.Parse(TextBox1.Text);
                    Response.Redirect("TimKiemTheoMaVanChuyen.aspx?idttvc=" + idttvc);
                }
            }
            catch
            { }
        }
    }
}
